Some more fixes following pixelwise resize changes including one for Bug#16306.
authormartin rudalics <rudalics@gmx.at>
Tue, 31 Dec 2013 09:48:54 +0000 (10:48 +0100)
committermartin rudalics <rudalics@gmx.at>
Tue, 31 Dec 2013 09:48:54 +0000 (10:48 +0100)
commit0e120ca3bb078a5e3b1f8c483e04d0f0347732d1
tree46943692bb49e84ad20fb0eab944bf6fd209a8f1
parent34171cec46b18a39b4c3bd22c586d2c8260587a8
Some more fixes following pixelwise resize changes including one for Bug#16306.

* gtkutil.c (x_wm_set_size_hint): Have size hints respect value
of frame_resize_pixelwise.
* widget.c (pixel_to_text_size): New function.
(update_wm_hints): Have size hints respect value of
frame_resize_pixelwise.
(EmacsFrameResize): Alway process resize requests pixelwise.
* window.c (grow_mini_window): Make sure mini window is at least
one line tall.
* xdisp.c (display_menu_bar): Make sure menubar extends till
right end of frame.
* xfns.c (x_set_menu_bar_lines): Resize frame windows pixelwise.
(x_set_tool_bar_lines): Calculate pixelwise.
* xterm.c (x_wm_set_size_hint): Have size hints respect value of
frame_resize_pixelwise.
src/ChangeLog
src/gtkutil.c
src/widget.c
src/window.c
src/xdisp.c
src/xfns.c
src/xterm.c